public class Character {
    double damage;
    double health;
    double damageReduction;

    Character(String s) {
        damage = 10;
        health = 50;
        damageReduction = 0.5;
    }
    Character(Character character) {
        damage = character.damage;
        health = character.health;
    }
    static void changeCurrentHealth(Character attacker, Character target) {
        target.health -= attacker.damage * 0.5;
        getInfo(attacker, target);
    }
    static void getInfo(Character main, Character enemy) {
        System.out.println("*********************************************");
        System.out.println("*** You attacking enemy for: " + main.damage + "         ***");
        System.out.println("*** Enemy's current health: " + enemy.health + "          ***");
        System.out.println("*********************************************");
    }
}
